home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
shadez.swf
/
scripts
/
Local
/
Draw
/
CScreen_LoadingLevel.as
< prev
next >
Wrap
Text File
|
2011-08-19
|
1KB
|
64 lines
package Local.Draw
{
import Local.Game.CGame;
import flash.display.MovieClip;
import flash.events.Event;
public class CScreen_LoadingLevel extends CScreen
{
public static const GAME_LOADED:String = "GAME_LOADED";
public var mGame:CGame;
public var mcBackground:MovieClip;
public var mcLogo:MovieClip;
public var mcSize:MovieClip;
public function CScreen_LoadingLevel()
{
super();
AddLogoButton();
}
override public function Process() : void
{
super.Process();
var _loc1_:* = mState;
if("normal" === _loc1_)
{
§§push(0);
if(true)
{
}
}
else
{
§§push("gameloaded" === _loc1_ ? 1 : 2);
}
switch(§§pop())
{
case 0:
mGame = new CGame();
if(true)
{
mState = "gameloaded";
if(true)
{
break;
}
addr38:
break;
}
break;
case 1:
dispatchEvent(new Event(GAME_LOADED));
§§goto(addr38);
}
}
}
}